package cn.jarlen.jwt.tools.crypt.base;

public class KeyCache {
    private static final KeyCache keyCache = new KeyCache();
    private byte[] key4SM4;
    private byte[] key4HmacSM3;
    private P12Info signP12Info;
    private P12Info encP12Info;

    public KeyCache() {
    }

    public byte[] getKey4SM4() {
        return this.key4SM4;
    }

    public void setKey4SM4(byte[] key4SM4) {
        this.key4SM4 = key4SM4;
    }

    public byte[] getKey4HmacSM3() {
        return this.key4HmacSM3;
    }

    public void setKey4HmacSM3(byte[] key4HmacSM3) {
        this.key4HmacSM3 = key4HmacSM3;
    }

    public static KeyCache getInstance() {
        return keyCache;
    }

    public P12Info getSignP12Info() {
        return this.signP12Info;
    }

    public void setSignP12Info(P12Info signP12Info) {
        this.signP12Info = signP12Info;
    }

    public P12Info getEncP12Info() {
        return this.encP12Info;
    }

    public void setEncP12Info(P12Info encP12Info) {
        this.encP12Info = encP12Info;
    }
}
